﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucTopNews.ascx.cs" Inherits="TTMarketing.UserControl.ucTopNews" %>
<asp:ObjectDataSource ID="odsNews" runat="server" SelectMethod="News_getByTopHot" 
    TypeName="TTController.clsCTProcess">
    <SelectParameters>
        <asp:Parameter DefaultValue="10" Name="top" Type="Int32" />
        <asp:Parameter DefaultValue="true" Name="status" Type="Boolean" />
        <asp:Parameter DefaultValue="true" Name="hot" Type="Boolean" />
    </SelectParameters>
</asp:ObjectDataSource>
<telerik:RadListView ID="RadListView1" runat="server" DataSourceID="odsNews" 
    BorderWidth="0px" ItemPlaceholderID="ph">
    <LayoutTemplate>
        <asp:PlaceHolder runat="server" id="ph" />
    </LayoutTemplate>
    <ItemTemplate>
                   - <a href='<%# "/tin-tuc.aspx?id="+Eval("ID") %>'>
                    <%# Eval("Title") %>
                    </a><span style="font-size:10px; color:Gray;"><%#Eval("Date") %></span>
                <br />
    </ItemTemplate>
    <EmptyDataTemplate>
        <div class="RadListView RadListView_Default">
            <div class="rlvEmpty">
                Dữ liệu đang cập nhật</div>
        </div>
    </EmptyDataTemplate>
    
</telerik:RadListView>
<a href="tin-tuc.aspx">Xem nhiều hơn >></a>

